import { HTTP } from '../util/http'
class fans extends HTTP {
 getfans(params,success){
   let url='MyFans/selectMyFansList'
   let data=params
   this.request({
     url,
    newURL: true,
    method:'POST',
    data:data,
    success
   })
 }

 follow(params,success){
  let url='MyFans/unfollowYou'
  let data=params
  this.request({
    url,
   newURL: true,
   method:'POST',
   data:data,
   success
  })
}
}


export {fans}